﻿namespace WMS6.Web.BillingServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="InvoiceQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DebuggerStepThrough]
    public class InvoiceQueryEntity : BaseQuery
    {
        [OptionalField]
        private string BillingDateField;
        [OptionalField]
        private string CostTypeField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string InvoiceIDField;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string PriceField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string StatementIDField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WhIDField;
        [OptionalField]
        private string WhNameField;

        [DataMember]
        public string BillingDate
        {
            get
            {
                return this.BillingDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BillingDateField, value))
                {
                    this.BillingDateField = value;
                    base.RaisePropertyChanged("BillingDate");
                }
            }
        }

        [DataMember]
        public string CostType
        {
            get
            {
                return this.CostTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CostTypeField, value))
                {
                    this.CostTypeField = value;
                    base.RaisePropertyChanged("CostType");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string InvoiceID
        {
            get
            {
                return this.InvoiceIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.InvoiceIDField, value))
                {
                    this.InvoiceIDField = value;
                    base.RaisePropertyChanged("InvoiceID");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    base.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string Price
        {
            get
            {
                return this.PriceField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PriceField, value))
                {
                    this.PriceField = value;
                    base.RaisePropertyChanged("Price");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string StatementID
        {
            get
            {
                return this.StatementIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatementIDField, value))
                {
                    this.StatementIDField = value;
                    base.RaisePropertyChanged("StatementID");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }

        [DataMember]
        public string WhName
        {
            get
            {
                return this.WhNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhNameField, value))
                {
                    this.WhNameField = value;
                    base.RaisePropertyChanged("WhName");
                }
            }
        }
    }
}

